<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="../common.jsp" %>
<script type="text/javascript">
	$(document).ready(function(){		
		updateDocumentLookupFilters('versionChange');
		setWorkFlowURL('<c:out value="${flowExecutionUrl}" />');
// 		showDocumentLookUpDialog();
// 		setRequestingPageForDocLookup('restricted');
	});

	
</script>
<style type="text/css">
	.resizeTextField {
		width: 70px !important;
		
	}
</style>
<div style="width: 90%; margin: auto;">
		<table>
			<tr>
				<td> 
					<button class="formButton ui-corner-all" type="button" onclick="javascript:setRequestingPageForDocLookup('restricted');">
						<img alt="" height="15" src='<c:url value="/customTheme/Icons/BlueLotus_DMS_icons-11.png" />'> &nbsp; DOCUMENT LOOKUP
					</button>
				</td>
			</tr>
		</table>
		<br/>
		<table class="viewDetails" style="width: 100%;">
			<tr class="heading">
				<th>Name</th>
				<th>Type</th>
				<th>Category</th>
				<th>Sub Category<input type="hidden" id="searchDocId" name="searchDocId"></input></th>
				<th>Change Version</th>
			</tr>
			<tr class="even">
				<td>
					<input type="text" id="searchedDocName" name="searchedDocName" readonly="readonly" class="disableInputField"></input>
				</td>
				<td>
					<input type="text" id="searchDocTypeID" name="docTypeID" readonly="readonly" class="disableInputField"></input>
				</td>
				<td>
					<input type="text" id="searchDocCatID" name="docCatID" readonly="readonly" class="disableInputField"></input>
				</td>
				<td>
					<input type="text" id="searchDocSubCatID" name="docSubCatID" readonly="readonly" class="disableInputField"></input>
				</td>	
				<td align="center">
					<input class = "formButton ui-corner-all" type="button" value="Change Version" onclick="javascript:viewDocument()"></input>
				</td>		
			</tr>
		</table>
	
</div>